<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../../../print.css" type="text/css" media="print">
<meta content="DisplayObjectContainer3D,org.papervision3d.core.proto.DisplayObjectContainer3D,_children,_childrenByName,root,children,numChildren,addChild,addChildren,childrenList,getChildByName,removeChild,removeChildByName,toString" name="keywords">
<title>org.papervision3d.core.proto.DisplayObjectContainer3D</title>
</head>
<body>
<script type="text/javascript" language="javascript" src="../../../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../../../cookies.js"></script><script type="text/javascript" language="javascript">
<!--
				asdocTitle = 'DisplayObjectContainer3D - Papervision3D 官方文档';
				var baseRef = '../../../../';
				window.onload = configPage;
			--></script>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
<tr>
<td align="left" class="titleTableTitle">Papervision3D 官方文档</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../../../all-classes.html')" href="../../../../package-summary.html">全部包</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../all-classes.html')" href="../../../../class-summary.html">全部类</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../index-list.html')" href="../../../../all-index-A.html">引索</a>&nbsp;|&nbsp;<a href="../../../../index.html?org/papervision3d/core/proto/DisplayObjectContainer3D.html&amp;org/papervision3d/core/proto/class-list.html" id="framesLink1">框架</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">无框架</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../../../images/logo.jpg"></td>
</tr>
<tr class="titleTableRow2">
<td align="left" id="subTitle" class="titleTableSubTitle">类&nbsp;DisplayObjectContainer3D</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#propertySummary">属性</a>&nbsp;| <a href="#methodSummary">方法</a></td>
</tr>
<tr class="titleTableRow3">
<td colspan="2">&nbsp;</td>
</tr>
</table>
<script type="text/javascript" language="javascript">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("类 DisplayObjectContainer3D"); titleBar_setSubNav(false,true,false,false,false,false,true,false,false,false,false,false,false,false);}
--></script>
<div class="MainContent">
<table cellspacing="0" cellpadding="0" class="classHeaderTable">
<tr>
<td class="classHeaderTableLabel">包</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">org.papervision3d.core.proto</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">类</td><td class="classSignature">public class DisplayObjectContainer3D</td>
</tr>
<tr>
<td class="classHeaderTableLabel">继承</td><td class="inheritanceList">DisplayObjectContainer3D <img class="inheritArrow" alt="继承" title="继承" src="../../../../images/inherit-arrow.gif"> flash.events.EventDispatcher</td>
</tr>
<tr>
<td class="classHeaderTableLabel">子类</td><td><a href="../../objects/DisplayObject3D.html">DisplayObject3D</a>, <a href="../proto/SceneObject3D.html">SceneObject3D</a></td>
</tr>
</table>
<p></p>
 The DisplayObjectContainer3D class is the base class for all objects that can serve as DisplayObject3D containers.
 <p/>用作DisplayObject3D容器的DisplayObjectContainer3D类
 Each DisplayObjectContainer3D object has its own child list.
 <p>每个DisplayObjectContainer3D对象都有自己的子列表</p>
<br>
<hr>
</div>
<a name="propertySummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">公共属性</div>
<table id="summaryTableProperty" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">属性</th><th colspan="2">定义方</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#children">children</a> : Object<div class="summaryTableDescription">[只读]
  Returns the children object.返回子对象。 </div>
</td><td class="summaryTableOwnerCol">DisplayObjectContainer3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#numChildren">numChildren</a> : int<div class="summaryTableDescription">[只读]
  Returns the number of children of this object.返回对象拥有的子对象的数目 </div>
</td><td class="summaryTableOwnerCol">DisplayObjectContainer3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#root">root</a> : <a href="../proto/DisplayObjectContainer3D.html">DisplayObjectContainer3D</a>
<div class="summaryTableDescription">
  <p>[只读] [只读] The scene, which is the top-most displayObjectContainer3D in the tree structure.</p>
  <p>场景，也就是树状结构中最上级的displayObjectContainer3D对象 </p>
</div>
</td><td class="summaryTableOwnerCol">DisplayObjectContainer3D</td>
</tr>
</table>
</div>
<a name="protectedPropertySummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">保护属性</div>
<table id="summaryTableProtectedProperty" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">属性</th><th colspan="2">定义方</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#_children">_children</a> : Dictionary<div class="summaryTableDescription">
  [包内使用] Names indexed by children.按子物体名称的索引 </div>
</td><td class="summaryTableOwnerCol">DisplayObjectContainer3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#_childrenByName">_childrenByName</a> : Object<div class="summaryTableDescription">
  [包内使用] Children indexed by name.按名称定子物体的索引 </div>
</td><td class="summaryTableOwnerCol">DisplayObjectContainer3D</td>
</tr>
</table>
</div>
<a name="methodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">公共方法</div>
<table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">方法</th><th colspan="2">定义方</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#DisplayObjectContainer3D()">DisplayObjectContainer3D</a>()</div>
<div class="summaryTableDescription">
  <p>Creates a new DisplayObjectContainer3D object.</p>
  <p>创建一个新的 DisplayObjectContainer3D 实例 </p>
</div>
</td><td class="summaryTableOwnerCol">DisplayObjectContainer3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#addChild()">addChild</a>(child:<a href="../../objects/DisplayObject3D.html">DisplayObject3D</a>, name:String = null):<a href="../../objects/DisplayObject3D.html">DisplayObject3D</a>
</div>
<div class="summaryTableDescription">
  <p>Adds a child DisplayObject3D instance to this DisplayObjectContainer instance.</p>
  <p>添加一个子DisplayObject3D实例到DisplayObjectContainer实例 </p>
</div>
</td><td class="summaryTableOwnerCol">DisplayObjectContainer3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#addChildren()">addChildren</a>(parent:<a href="../../objects/DisplayObject3D.html">DisplayObject3D</a>):<a href="../proto/DisplayObjectContainer3D.html">DisplayObjectContainer3D</a>
</div>
<div class="summaryTableDescription">
  <p>Adds all the children of a DisplayObject3D instance to this DisplayObjectContainer instance.</p>
  <p>为DisplayObjectContainer对象添加DisplayObject3D对象的所有子对象</p>
</div>
</td><td class="summaryTableOwnerCol">DisplayObjectContainer3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#childrenList()">childrenList</a>():String</div>
<div class="summaryTableDescription">
  <p> Returns a string value with the list of objects.返回对象列表的字符串值</p>
  <p>&nbsp;</p>
</div>
</td><td class="summaryTableOwnerCol">DisplayObjectContainer3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getChildByName()">getChildByName</a>(name:String, recursive:Boolean = false):<a href="../../objects/DisplayObject3D.html">DisplayObject3D</a>
</div>
<div class="summaryTableDescription">
  <p>Returns the child display object that exists with the specified name.</p>
  <p>获取指定名称的子显示对象</p>
</div>
</td><td class="summaryTableOwnerCol">DisplayObjectContainer3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#removeChild()">removeChild</a>(child:<a href="../../objects/DisplayObject3D.html">DisplayObject3D</a>):<a href="../../objects/DisplayObject3D.html">DisplayObject3D</a>
</div>
<div class="summaryTableDescription">
  <p>Removes the specified child DisplayObject3D instance from the child list of the DisplayObjectContainer3D instance.</p>
  <p>从DisplayObjectContainer3D实例的子对象列表中删除指定名称的子DisplayObject3D </p>
</div>
</td><td class="summaryTableOwnerCol">DisplayObjectContainer3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#removeChildByName()">removeChildByName</a>(name:String):<a href="../../objects/DisplayObject3D.html">DisplayObject3D</a>
</div>
<div class="summaryTableDescription">
  <p>Removes the child DisplayObject3D instance that exists with the specified name, from the child list of the DisplayObjectContainer3D instance.</p>
  <p>从DisplayObjectContainer3D实例的子对象列表中按照参数指定的子对象的名称删除一个DisplayObject3D实例 </p>
</div>
</td><td class="summaryTableOwnerCol">DisplayObjectContainer3D</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#toString()">toString</a>():String</div>
<div class="summaryTableDescription">
  <p>Returns a string value with the list of objects.</p>
  <p>返回对象列表的字符串值</p>
</div>
</td><td class="summaryTableOwnerCol">DisplayObjectContainer3D</td>
</tr>
</table>
</div>
<script type="text/javascript" language="javascript">
<!--
showHideInherited();
--></script>
<div class="MainContent">
<a name="propertyDetail"></a>
<div class="detailSectionHeader">属性详细信息</div>
<a name="_children"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">_children</td><td class="detailHeaderType">属性</td>
</tr>
</table>
<div class="detailBody">
<code>protected var _children:Dictionary</code><p>
  [包内使用] Names indexed by children.
    <span class="summaryTableDescription">按子物体名称的索引</span></p>
</div>
<a name="children"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">children</td><td class="detailHeaderType">属性</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>children:Object</code>&nbsp;&nbsp;[只读]<p>
  Returns the children object.</p>
<span class="label">实现</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get children():Object</code>
<br>
</div>
<a name="_childrenByName"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">_childrenByName</td><td class="detailHeaderType">属性</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected var _childrenByName:Object</code><p>
  [包内使用] Children indexed by name.
    <span class="summaryTableDescription">按名称定子物体的索引</span></p>
</div>
<a name="numChildren"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">numChildren</td><td class="detailHeaderType">属性</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>numChildren:int</code>&nbsp;&nbsp;[只读]<p>
  Returns the number of children of this object.
  对象子对象的数目</p><span class="label">实现</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get numChildren():int</code>
<br>
</div>
<a name="root"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">root</td><td class="detailHeaderType">属性</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public var root:<a href="../proto/DisplayObjectContainer3D.html">DisplayObjectContainer3D</a></code><p>
  [只读] [只读] The scene, which is the top-most displayObjectContainer3D in the tree structure.
  </p>
<p>场景，也就是树状结构中最上级的displayObjectContainer3D对象 </p>
</div>
<a name="constructorDetail"></a>
<div class="detailSectionHeader">构造函数详细信息</div>
<a name="DisplayObjectContainer3D()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">DisplayObjectContainer3D</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">构造函数</td>
</tr>
</table>
<div class="detailBody">
<code>public function DisplayObjectContainer3D()</code><p>
  Creates a new DisplayObjectContainer3D object.
  </p></div>
<a name="methodDetail"></a>
<div class="detailSectionHeader">方法详细信息</div>
<a name="addChild()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">addChild</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">方法</td>
</tr>
</table>
<div class="detailBody">
<code>public function addChild(child:<a href="../../objects/DisplayObject3D.html">DisplayObject3D</a>, name:String = null):<a href="../../objects/DisplayObject3D.html">DisplayObject3D</a></code><p>
  Adds a child DisplayObject3D instance to this DisplayObjectContainer instance.</p>
<p>添加一个子DisplayObject3D实例到DisplayObjectContainer实例</p>
<p>  [TODO: If you add a child object that already has a different display object container as a parent, the object is removed from the child list of the other display object container.] </p>
<p>【如果你添加的子对象已经有一个父容器，则这个子对象将从其原先的父容器中被去除】</p>
<span class="label">参数</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><p><code><span class="label">child</span>:<a href="../../objects/DisplayObject3D.html">DisplayObject3D</a></code> &mdash; The DisplayObject3D instance to add as a child of this DisplayObjectContainer3D instance.
</p>
  <p>添加进DisplayObjectContainer3D对象作为子对象的DisplayObject3D实例</p></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><p><code><span class="label">name</span>:String</code> (default = <code>null</code>)<code></code> &mdash; An optional name of the child to add or create. If no name is provided, the child name will be used.</p>
  <p>要添加或创建的子对象的自定义名称，如果没有提供名字，则用这个名字</p></td>
</tr>
</table>
<p></p>
<span class="label">返回</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td>
<td width="1004"><code><a href="../../objects/DisplayObject3D.html">DisplayObject3D</a></code> &mdash; 
                        The DisplayObject3D instance that you have added or created.
  
                        
                     要添加或创建的DisplayObject3D实例</td>
</tr>
</table>
</div>
<a name="addChildren()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">addChildren</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">方法</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function addChildren(parent:<a href="../../objects/DisplayObject3D.html">DisplayObject3D</a>):<a href="../proto/DisplayObjectContainer3D.html">DisplayObjectContainer3D</a></code><p>
  Adds all the children of a DisplayObject3D instance to this DisplayObjectContainer instance.
    </p><span class="label">参数</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">parent</span>:<a href="../../objects/DisplayObject3D.html">DisplayObject3D</a></code> &mdash; The DisplayObjectContainer3D instance that contains the children to add.
  </td>
</tr>
</table>
<p></p>
<span class="label">返回</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../proto/DisplayObjectContainer3D.html">DisplayObjectContainer3D</a></code> &mdash; 
                        The DisplayObject3D instance that you have added or created.
  
                        
                     </td>
</tr>
</table>
</div>
<a name="childrenList()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">childrenList</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">方法</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function childrenList():String</code>
<p>
  Returns a string value with the list of objects.
    返回对象列表的字符串值</p><p></p>
<span class="label">返回</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>String</code> &mdash; A string.
  </td>
</tr>
</table>
</div>
<a name="getChildByName()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getChildByName</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">方法</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getChildByName(name:String, recursive:Boolean = false):<a href="../../objects/DisplayObject3D.html">DisplayObject3D</a></code><p>
  Returns the child display object that exists with the specified name.
  </p>
<p>返回指定名称的子对象</p>
  <p>If more that one child display object has the specified name, the method returns the first object in the child list.
  </p>
  </p>
  <p>如果有多个子显示对象重名，则方法返回在子列表中遇到的第一个对象</p>
  <p>
    </p>
    <span class="label">参数</span>
  </p>
  <table border="0" cellspacing="0" cellpadding="0">
  <tr>
<td width="20"></td>
<td width="690"><code><span class="label">name</span>:String</code> &mdash; The name of the child to return.
  要返回的子对象的名称</td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20"></td>
<td><code><span class="label">recursive</span>:Boolean</code> (default = <code>false</code>)<code>缺省为false</code></td>
</tr>
</table>
<p></p>
<span class="label">返回</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><p><code><a href="../../objects/DisplayObject3D.html">DisplayObject3D</a></code> &mdash; 
  The child display object with the specified name.</p>
  <p>指定名称的子对象</p></td>
</tr>
</table>
</div>
<a name="removeChild()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">removeChild</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">方法</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function removeChild(child:<a href="../../objects/DisplayObject3D.html">DisplayObject3D</a>):<a href="../../objects/DisplayObject3D.html">DisplayObject3D</a></code><p>
  Removes the specified child DisplayObject3D instance from the child list of the DisplayObjectContainer3D instance.
  </p>
<p>从DisplayObjectContainer3D的子列表中去除指定名称的子DisplayObject3D对象</p>
  <p>[TODO: The parent property of the removed child is set to null, and the object is garbage collected if no other references to the child exist.]
  </p>
    The garbage collector is the process by which Flash Player reallocates unused memory space. When a variable or object is no longer actively referenced or stored somewhere, the garbage collector sweeps through and wipes out the memory space it used to occupy if no other references to it exist.
    </p>
  </p>
  <p>【要去除的子对象的父级属性要设为null，如果没有关于此子对象的引用，则此子对象将被内存垃圾回收器回收】后面是关于内存垃圾回收器的介绍，相信大家都知道</p>
  <p>
    </p>
    <span class="label">参数</span>
  </p>
  <table border="0" cellspacing="0" cellpadding="0">
  <tr>
<td width="20px"></td><td><p><code><span class="label">child</span>:<a href="../../objects/DisplayObject3D.html">DisplayObject3D</a></code> &mdash; The DisplayObject3D instance to remove.</p>
  <p>要去除的DisplayObject3D对象</p></td>
</tr>
</table>
<p></p>
<span class="label">返回</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><p><code><a href="../../objects/DisplayObject3D.html">DisplayObject3D</a></code> &mdash; 
  The DisplayObject3D instance that you pass in the child parameter.</p>
  <p>输入的child参数所对应的DisplayObject3D实例</p></td>
</tr>
</table>
</div>
<a name="removeChildByName()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">removeChildByName</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">方法</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function removeChildByName(name:String):<a href="../../objects/DisplayObject3D.html">DisplayObject3D</a></code><p>
  Removes the child DisplayObject3D instance that exists with the specified name, from the child list of the DisplayObjectContainer3D instance.
  </p>
<p>去除指定名称的子DisplayObject3D对象</p>
  <p>If more that one child display object has the specified name, the method removes the first object in the child list.
  </p>
  </p>
  <p>如果有多个子显示对象重名，则方法去除在子列表中遇到的第一个对象</p>
  <p>
    [TODO: The parent property of the removed child is set to null, and the object is garbage collected if no other references to the child exist.]
    </p>
  </p>
  <p>【要去除的子对象的父级属性要设为null，如果没有关于此子对象的引用，则此子对象将被内存垃圾回收器回收】</p>
  <p>
    The garbage collector is the process by which Flash Player reallocates unused memory space. When a variable or object is no longer actively referenced or stored somewhere, the garbage collector sweeps through and wipes out the memory space it used to occupy if no other references to it exist.
    </p>
    </p>
    <span class="label">参数</span>
  </p>
  <table border="0" cellspacing="0" cellpadding="0">
  <tr>
<td width="20px"></td><td><p><code><span class="label">name</span>:String</code> &mdash; The name of the child to remove.</p>
  <p>要去除的子对象的名称</p></td>
</tr>
</table>
<p></p>
<span class="label">返回</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><p><code><a href="../../objects/DisplayObject3D.html">DisplayObject3D</a></code> &mdash; 
  The DisplayObject3D instance that was removed.</p>
  <p>要去除的DisplayObject3D实例</p></td>
</tr>
</table>
</div>
<a name="toString()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">toString</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">方法</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public override function toString():String</code>
<p>
  Returns a string value with the list of objects.
    返回对象列表的字符串值</p><p></p>
<span class="label">返回</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>String</code> &mdash; A string.
  </td>
</tr>
</table>
</div>
<br>
<br>
<hr>
<br>
<p></p>
<center class="copyright">http://blog.papervision3d.org</center>
</div>
</body>
</html>
<!--http://blog.papervision3d.org-->
